func go/types.allInteger

14 uses

	go/types (current package)
		expr.go#L68: 		token.XOR: allInteger,
		expr.go#L162: 		if !allInteger(x.typ()) {
		expr.go#L353: 		if !allInteger(typ) {
		expr.go#L626: 	if allInteger(x.typ()) || isUntyped(x.typ()) && xval != nil && xval.Kind() == constant.Int {
		expr.go#L663: 		case allInteger(y.typ()):
		expr.go#L748: 	if !allInteger(x.typ()) {
		expr.go#L766: 		token.REM: allInteger,
		expr.go#L768: 		token.AND:     allInteger,
		expr.go#L769: 		token.OR:      allInteger,
		expr.go#L770: 		token.XOR:     allInteger,
		expr.go#L771: 		token.AND_NOT: allInteger,
		expr.go#L835: 		if (x.mode() == constant_ || allInteger(x.typ())) && y.mode() == constant_ && constant.Sign(y.val) == 0 {
		index.go#L461: 	if !allInteger(x.typ()) {
		predicates.go#L47: func allInteger(t Type) bool         { return allBasic(t, IsInteger) }